export default defineEventHandler(async (event) => {
    // 模拟一些预渲染数据
    const prerenderedData = {
        imgSrc: 'http://gips3.baidu.com/it/u=764883555,2569275522&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280',
        title: "Custom Cufflinks",
        content: `Luxury custom cufflinks to elevate formal attire
                    Perfect for corporate branding, events, and professional wear
                    Available in metal, enamel, rhinestone, and other styles
                    Customizable with logos, colors, and intricate designs
                    Refined accessories that blend sophistication with functionality`,
        timestamp: new Date().toISOString(),
        items: [
            { id: 1, name: "项目 1" },
            { id: 2, name: "项目 2" },
            { id: 3, name: "项目 3" }
        ],
        swiperList: [
            '/image copy.png',
            '/image copy1.png',
            '/image copy2.png',
            '/image copy3.png',
            '/image copy4.png',
        ]
    }

    // 模拟API延迟
    await new Promise(resolve => setTimeout(resolve, 100))

    return prerenderedData
})
